<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cb_mill_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cb_mill_id" data-rule="required" data-source="cb/mill/index" class="form-control selectpage" name="row[cb_mill_id]" type="text" value="{$row.cb_mill_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price" class="form-control" step="0.01" name="row[price]" type="number" value="{$row.price|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Receive_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-receive_num" class="form-control" name="row[receive_num]" type="number" value="{$row.receive_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cb_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cb_num" class="form-control" step="0.01" name="row[cb_num]" type="number" value="{$row.cb_num|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_receive')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-is_receive" class="form-control selectpicker" name="row[is_receive]">
                {foreach name="isReceiveList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.is_receive"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Numcount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-numcount" class="form-control" name="row[numcount]" type="number" value="{$row.numcount|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('One_make')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-one_make" class="form-control" step="0.01" name="row[one_make]" type="number" value="{$row.one_make|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Termtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-termtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[termtime]" type="text" value="{:$row.termtime?datetime($row.termtime):''}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
